x = -10
y = -5
r1 = x > 0 and 1/2
r2 = x < 0 and 1/2
print(r1)
print(r2)